package com.situ.springboot.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String name;
    private String password;
    private Integer role;
    private String image;
    //@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Date updateTime;
}
